package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberGrowthAction;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.Page;

/**
* 会员等级管理-评价-分享-点赞-晒单-收藏赠送表
* @author : 
* @email : 
* @since : 2020-04-10 11:00:00
* @version : v1.0.0
*/
public interface MememberGrowthActionService {

    long insert(MememberGrowthAction mememberGrowthAction);

    long delete(Long id);

    long update(MememberGrowthAction mememberGrowthAction);

    MememberGrowthAction queryByPrimaryKey(Long id);

    List<MememberGrowthAction> query(MememberGrowthAction mememberGrowthAction);

    PageResult<MememberGrowthAction> queryPage(MememberGrowthAction mememberGrowthAction, Page pageQuery);

    //根据主表id查询 注册-分享-点赞-晒单-收藏规则信息
    MememberGrowthAction getRrowthRuleById(Long id);

    //根据主表id查询 注册-分享-点赞-晒单-收藏规则赠送成长值
    MememberGrowthAction getGiveGrowthValById(Long id);

}